package it.univaq.f4i.iw.ex.album.model;

/**
 *
 * @author IngegneriaDelWeb
 */
public interface Comment {

    /**
     * @return the text
     */
    String getText();

    /**
     * @return the key (which is read only)
     */
    int getKey();

    /**
     * @return the user
     */
    User getUser();

    /**
     * @return the photo
    */
    Photo getPhoto();

    /**
     * @param text the text to set
     */
    void setText(String text);

    /**
     * @param user the user to set
     */
    void setUser(User user);

    /**
     * @param photo the photo to set
     */
    void setPhoto(Photo photo);


}
